<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%--bootstrap--%>
    <%--直接在线引入css文件--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container"><%--栅格系统--%>
    <div class="row clearfix">
        <div class="col-md-12 column"><%--将屏幕分为12份--%>
            <div class="page-header">
                <h1>
                    <small>新增书籍</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/book/addBooks" method="post">
<%--        <input type="hidden" value="${book.id}" name="id">--%>
<%--        <div class="form-group">--%>
<%--            <label for="name">id</label>--%>
<%--            <input type="text" class="form-control" id="id" name="name" required>--%>
<%--        </div>--%>
        <div class="form-group">
            <label for="name">书籍名称</label>
            <input type="text" class="form-control" id="name" name="name" required>
        </div>
        <div class="form-group">
            <label for="bookCounts">图书标准ISBN编号</label>
            <input type="text" class="form-control" id="bookCounts" name="isbn" required>
        </div>
        <div class="form-group">
            <label for="detail">图书出版社</label>
            <input type="text" class="form-control" id="detail" name="press" required>
        </div>
        <div class="form-group">
            <label for="detail">图书作者</label>
            <input type="text" class="form-control"   name="author" required>
        </div>
        <div class="form-group">
            <label for="detail">图书页数</label>
            <input type="text" class="form-control" name="pagination" required>
        </div>
        <div class="form-group">
            <label for="detail">图书价格</label>
            <input type="text" class="form-control" name="price" required>
        </div>
        <div class="form-group">
            <label for="detail">图书上架时间</label>
            <input type="text" class="form-control" name="uploadTime">
        </div>
        <button type="submit" class="btn btn-default">添加书籍</button>
    </form>
</div>
</body>
</html>
